<!doctype html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <block name="title"><title>商铺服务分类管理页面</title></block>
  <link rel="stylesheet" href="__PUBLIC__/bootstrap/dist/css/bootstrap.min.css"> <!--easyui_css文件-->
  <link href="__PUBLIC__/easyui/themes/default/easyui.css" rel="stylesheet" type="text/css" />
  <link href="__PUBLIC__/easyui/themes/icon.css" rel="stylesheet" type="text/css" /> 
  --js文件-->

  <script src="__PUBLIC__/bootstrap/js/jquery.min.js"></script>
  <script src="__PUBLIC__/bootstrap/js/bootstrap.min.js"></script>
  <script src="__PUBLIC__/bootstrap/js/holder.min.js"></script>
  <script src="__PUBLIC__/bootstrap/js/application.js"></script>
  <script type="text/javascript" src="__PUBLIC__/bootstrap/js/jquery.easyui.min.js"></script>



  <!--<script type="text/javascript" src="__PUBLIC__/easyui/jquery.min.js"></script>-->
  <script type="text/javascript" src="__PUBLIC__/easyui/jquery.easyui.min.js"></script>
  <script type="text/javascript" src="__PUBLIC__/easyui/locale/easyui-lang-zh_CN.js" ></script>
  <script type="text/javascript">

  </script>


</head>
<body>
  <div class="container">

  <div class="panel panel-default">
      <div class="panel-heading">
        <h4>增加分类</h4>
      </div>
      <div class="panel-body">
        <form action="{:U('addShopServiceClass',array('id'=>$id))}" method="post">
          <div class="form-group">
            <label for="name">分类名:</label>  
            <input type="text" name='name' class='form-control' placeholder='菜名'>
          </div>

          <div class="form-group">
            <label for="class_id">请选择父级</label>
                 <select name="pid" class='form-control'>
                 <option selected="selected" value="0">根类</option>
                 <volist name="alist" id="vo">
                  <option value="{$vo['id']}">
                    <?php 
                      for($i=0;$i<$vo['count'];$i++){
                        echo '&nbsp&nbsp';  
                      }
                    ?>
                    {$vo['name']}
                  </option>
                 </volist>
                </select>
          </div>

          <div class="form-group">
           <input type="hidden" name="shopid" value="{$id}">
           <input type="submit" value="添加栏目" class="btn btn-default">
            <input type="reset" value="重置" class="btn btn-default">
          </div>
        </form> 
      </div>
    </div>
  </div>


</body>
</html>